package com.stylefeng.guns.modular.model.service.impl;

import com.stylefeng.guns.modular.system.model.ActualRoute;
import com.stylefeng.guns.modular.system.model.TicketPrice;
import com.stylefeng.guns.modular.system.dao.TicketPriceMapper;
import com.stylefeng.guns.modular.model.service.ITicketPriceService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lyl
 * @since 2018-08-05
 */
@Service
public class TicketPriceServiceImpl extends ServiceImpl<TicketPriceMapper, TicketPrice> implements ITicketPriceService {
    @Autowired
    private  TicketPriceMapper ticketPriceMapper;

    @Override
    public void updateticket(TicketPrice bean) {
          ticketPriceMapper.updateticket(bean);
    }

    @Override
    public TicketPrice selectPriceByLineId(Integer lineid) {
        return this.baseMapper.selectPriceByLineId(lineid);
    }
}
